<template>
	<xbSwiperPreview :imgs="imgs"></xbSwiperPreview>
</template>

<script lang="ts" setup>
	import xbSwiperPreview from '@/components/xb-swiper-preview/index.vue';
	import { onLoad } from "@dcloudio/uni-app";
	import { ref } from 'vue';
	import { qxCloudMediaList } from '@/config/mine.api';

	const imgs = ref([]);

	onLoad(async (params) => {
		console.log(params, 1);
		const res = await qxCloudMediaList({ ...params, pageNo: 1, pageSize: 99999999 });
		imgs.value = res?.records;
	})
</script>

<style lang="scss" scoped>

</style>